/**
 * represent a treatment record for a patient
 */

package source;

import activejdbc.Model;
import java.util.Date;
import java.util.Map;


public class TreatmentRecord extends Model {
	private Doctor doctor;
	private Date datetime;
	private Nurse attendingNurse;
	private DoctorsOrders doctorsOrders;
	private Symptom symptom;
	private Vital vitals;
	private Diagnosis diagnosis;
	private int patient_id;

	public TreatmentRecord() {
		super();
	}
	
	public TreatmentRecord(Map<String, String> values) {
		this.fromMap(values);
	}
	
	/**
	 *  for printing TreatmentRecord
	 */
	public String toString() {
		String output = " Treatment Record:\n";
		output += " - Doctor: " + doctor + ", Date: " + datetime + ", Nurse: "
				+ attendingNurse + ", Symptom" + symptom + ", Diagnosis: " + diagnosis;
		
		return output;
	}
}
